/* ptsFEPing.cpp
 *
 * --
 * Copyright (c) 2012, Christophe Huriaux
 * Distributed under the terms of the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 * --
 */

#include <packet/ptsFEPing.h>
#include <wrapper/JavaStreamWrapper.h>

ptsFEPing::ptsFEPing()
    : McPacketToServer(0xFE)
{
}

unsigned int ptsFEPing::length()
{
    return 1;
}

void ptsFEPing::forge(std::ostream& out)
{
    JavaStreamWrapper jsw(out);

    jsw.writeByte(getPacketId());

}



